<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="mongodb-driver-monitoring-serverheartbeatstartedevent.isawaited.html">« MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::isAwaited</a></li>
      <li style="float: right;"><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.getdurationmicros.html">MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getDurationMicros »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="mongodb.monitoring.html">MongoDB\Driver\Monitoring</a></li>
    <li>The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="class.mongodb-driver-monitoring-serverheartbeatsucceededevent" class="reference">

 <h1 class="title">The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class</h1>
 

 <div class="partintro"><p class="verinfo">(mongodb &gt;=1.13.0)</p>


  <div class="section" id="mongodb-driver-monitoring-serverheartbeatsucceededevent.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    The <span class="classname"><strong class="classname">MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent</strong></span>
    class encapsulates information about a successful server heartbeat.
   </p>
  </div>


  <div class="section" id="mongodb-driver-monitoring-serverheartbeatsucceededevent.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="modifier">final</span>
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent</strong>
     </span>
     {</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.getdurationmicros.html" class="methodname">getDurationMicros</a></span>(): <span class="type">int</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.gethost.html" class="methodname">getHost</a></span>(): <span class="type">string</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.getport.html" class="methodname">getPort</a></span>(): <span class="type">int</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.getreply.html" class="methodname">getReply</a></span>(): <span class="type">object</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.isawaited.html" class="methodname">isAwaited</a></span>(): <span class="type">bool</span></div>

   }</div>


  </div>

 </div>

 
 






 






 






 







 







<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.getdurationmicros.html">MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getDurationMicros</a> — Returns the heartbeat's duration in microseconds</li><li><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.gethost.html">MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getHost</a> — Returns the hostname of the server</li><li><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.getport.html">MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getPort</a> — Returns the port on which this server is listening</li><li><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.getreply.html">MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getReply</a> — Returns the heartbeat reply document</li><li><a href="mongodb-driver-monitoring-serverheartbeatsucceededevent.isawaited.html">MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::isAwaited</a> — Returns whether the heartbeat used a streaming protocol</li></ul>
</div>
</div></div></body></html>